/**
 * output package name
 */
package com.kingdee.eas.ec.garden.basedata.client;

import org.apache.log4j.Logger;

import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.ui.face.CoreUIObject;
import com.kingdee.eas.ec.garden.basedata.GaSeedlingTypeFactory;
import com.kingdee.eas.ec.garden.basedata.GaSeedlingTypeInfo;
import com.kingdee.eas.framework.ICoreBase;

/**
 * output class name
 */
public class GaSeedlingTypeEditUI extends AbstractGaSeedlingTypeEditUI
{
    private static final Logger logger = CoreUIObject.getLogger(GaSeedlingTypeEditUI.class);
    
    public GaSeedlingTypeEditUI() throws Exception
    {
        super();
    }

	protected IObjectValue createNewData() {
		return new GaSeedlingTypeInfo();
	}

	protected ICoreBase getBizInterface() throws Exception {
		return GaSeedlingTypeFactory.getRemoteInstance();
	}
	
	protected void initHeadStyle() throws Exception {
		super.initHeadStyle();
		txtNumber.setMaxLength(80);
		txtName.setMaxLength(80);
		txtDescription.setMaxLength(255);

		txtNumber.setRequired(true);
		txtName.setRequired(true);
	}
}